<template>
    <div class="app-container">
        <c-transfer v-model="value1" :data="data"></c-transfer>
    </div>
</template>
<script>
import CTransfer from '../../components/Ctransfer/main'
export default {
    components: {
      CTransfer
    },
    data() {
      const generateData = _ => {
        const data = [];
        for (let i = 1; i <= 15; i++) {
          data.push({
            key: i,
            label: `备选项 ${ i }`,
            disabled: i % 4 === 0
          });
        }
        return data;
      };
      return {
        data: generateData(),
        value1: [1, 4,6,7]
      };
    }
}
</script>
<style>

</style>


